Skip to content

Conversation

@sfleen
Copy link
Contributor

@sfleen sfleen commented Oct 20, 2025

Similar to #14634, This adds parenthesized guards for the control plane tracing values check in the case where we upgrade with existing values.

Similar to #14634, This adds parenthesized guards for the control plane tracing values check

Signed-off-by: Scott Fleener <[email protected]>
@sfleen sfleen requested a review from a team as a code owner October 20, 2025 22:08
@sfleen sfleen enabled auto-merge (squash) October 20, 2025 22:10
@sfleen sfleen disabled auto-merge October 20, 2025 22:10
@sfleen sfleen enabled auto-merge (squash) October 20, 2025 22:10
@sfleen sfleen merged commit 5b77e3d into main Oct 21, 2025
92 of 96 checks passed
@sfleen sfleen deleted the sfleen/trace-guard branch October 21, 2025 16:58
{{ define "partials.linkerd.trace" -}}
{{ if .Values.controller.tracing.enabled -}}
{{ if ((.Values.controller.tracing).enabled) -}}
{{- if empty .Values.controller.tracing.collector.endpoint }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need defaults if collector is missing?

{{ define "partials.linkerd.trace" -}}
{{ if .Values.controller.tracing.enabled -}}
{{ if ((.Values.controller.tracing).enabled) -}}
{{- if empty .Values.controller.tracing.collector.endpoint }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{{- if empty .Values.controller.tracing.collector.endpoint }}
{{- if empty (.Values.controller.tracing.collector).endpoint }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants